BIN=myprocess
SRC=$(wildcard *.c)
OBJ=$(SRC:.c=.o)

$(BIN):$(OBJ)
	gcc -o $@ $^
	@echo "$^ Linking ... to $@"

%.o:%.c
	gcc -c $<
	@echo "$^ Compling ... to $<"
.PHONY:clean
clean:
	rm -f $(OBJ) $(BIN)


